package adapter.classadapter;

import adapter.classadapter.phone.Phone;
import adapter.classadapter.phone.impl.Iphone;
import adapter.classadapter.uml.Voltage220V;

/**
 * @author : DuJiabao
 * @Date : 2021/3/3 9:56
 * @Project : design-pattern
 * @File : null.java
 * @Desc :
 */
public class Client {
  public static void main(String[] args) {
    VoltageAdapter voltageAdapter = new VoltageAdapter();
    Phone iphone = new Iphone();
    iphone.charge(voltageAdapter);

  }
}
